Integrand size = 13, antiderivative size = 42 \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=\frac {\text {arctanh}(\sin (x)) \cos (x)}{2 a \sqrt {a \cos ^2(x)}}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}} \]
Time = 0.01 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.62 \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=\frac {\text {arctanh}(\sin (x)) \cos (x)+\tan (x)}{2 a \sqrt {a \cos ^2(x)}} \]
Time = 0.33 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.615, Rules used = {3042, 3655, 3042, 3683, 3042, 3686, 3042, 4257}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\left (a-a \sin (x)^2\right )^{3/2}}dx\) |
\(\Big \downarrow \) 3655 |
\(\displaystyle \int \frac {1}{\left (a \cos ^2(x)\right )^{3/2}}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\left (a \sin \left (x+\frac {\pi }{2}\right )^2\right )^{3/2}}dx\) |
\(\Big \downarrow \) 3683 |
\(\displaystyle \frac {\int \frac {1}{\sqrt {a \cos ^2(x)}}dx}{2 a}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {1}{\sqrt {a \sin \left (x+\frac {\pi }{2}\right )^2}}dx}{2 a}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}}\) |
\(\Big \downarrow \) 3686 |
\(\displaystyle \frac {\cos (x) \int \sec (x)dx}{2 a \sqrt {a \cos ^2(x)}}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\cos (x) \int \csc \left (x+\frac {\pi }{2}\right )dx}{2 a \sqrt {a \cos ^2(x)}}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}}\) |
\(\Big \downarrow \) 4257 |
\(\displaystyle \frac {\cos (x) \text {arctanh}(\sin (x))}{2 a \sqrt {a \cos ^2(x)}}+\frac {\tan (x)}{2 a \sqrt {a \cos ^2(x)}}\) |
3.2.20.3.1 Defintions of rubi rules used
Int[(u_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Int[A ctivateTrig[u*(a*cos[e + f*x]^2)^p], x] /; FreeQ[{a, b, e, f, p}, x] && EqQ [a + b, 0]
Int[((b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Simp[Cot[e + f*x]* ((b*Sin[e + f*x]^2)^(p + 1)/(b*f*(2*p + 1))), x] + Simp[2*((p + 1)/(b*(2*p + 1))) Int[(b*Sin[e + f*x]^2)^(p + 1), x], x] /; FreeQ[{b, e, f}, x] && !IntegerQ[p] && LtQ[p, -1]
Int[(u_.)*((b_.)*sin[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Simp[(b*ff^n)^IntPart[p]*((b*Sin[e + f*x]^ n)^FracPart[p]/(Sin[e + f*x]/ff)^(n*FracPart[p])) Int[ActivateTrig[u]*(Si n[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] && !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] || MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) / ; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig]])
Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[-ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]
Time = 0.72 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.98
method | result | size |
default | \(-\frac {\left (-\ln \left (1+\sin \left (x \right )\right )+\ln \left (\sin \left (x \right )-1\right )\right ) \left (\cos ^{2}\left (x \right )\right )-2 \sin \left (x \right )}{4 a \cos \left (x \right ) \sqrt {a \left (\cos ^{2}\left (x \right )\right )}}\) | \(41\) |
risch | \(-\frac {i \left ({\mathrm e}^{2 i x}-1\right )}{a \left ({\mathrm e}^{2 i x}+1\right ) \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}-\frac {\ln \left ({\mathrm e}^{i x}-i\right ) \cos \left (x \right )}{a \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}+\frac {\ln \left ({\mathrm e}^{i x}+i\right ) \cos \left (x \right )}{a \sqrt {a \left ({\mathrm e}^{2 i x}+1\right )^{2} {\mathrm e}^{-2 i x}}}\) | \(109\) |
Time = 0.28 (sec) , antiderivative size = 40, normalized size of antiderivative = 0.95 \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=-\frac {\sqrt {a \cos \left (x\right )^{2}} {\left (\cos \left (x\right )^{2} \log \left (-\frac {\sin \left (x\right ) - 1}{\sin \left (x\right ) + 1}\right ) - 2 \, \sin \left (x\right )\right )}}{4 \, a^{2} \cos \left (x\right )^{3}} \]
\[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=\int \frac {1}{\left (- a \sin ^{2}{\left (x \right )} + a\right )^{\frac {3}{2}}}\, dx \]
Leaf count of result is larger than twice the leaf count of optimal. 304 vs. \(2 (34) = 68\).
Time = 0.42 (sec) , antiderivative size = 304, normalized size of antiderivative = 7.24 \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=\frac {4 \, {\left (\sin \left (3 \, x\right ) - \sin \left (x\right )\right )} \cos \left (4 \, x\right ) + {\left (2 \, {\left (2 \, \cos \left (2 \, x\right ) + 1\right )} \cos \left (4 \, x\right ) + \cos \left (4 \, x\right )^{2} + 4 \, \cos \left (2 \, x\right )^{2} + \sin \left (4 \, x\right )^{2} + 4 \, \sin \left (4 \, x\right ) \sin \left (2 \, x\right ) + 4 \, \sin \left (2 \, x\right )^{2} + 4 \, \cos \left (2 \, x\right ) + 1\right )} \log \left (\cos \left (x\right )^{2} + \sin \left (x\right )^{2} + 2 \, \sin \left (x\right ) + 1\right ) - {\left (2 \, {\left (2 \, \cos \left (2 \, x\right ) + 1\right )} \cos \left (4 \, x\right ) + \cos \left (4 \, x\right )^{2} + 4 \, \cos \left (2 \, x\right )^{2} + \sin \left (4 \, x\right )^{2} + 4 \, \sin \left (4 \, x\right ) \sin \left (2 \, x\right ) + 4 \, \sin \left (2 \, x\right )^{2} + 4 \, \cos \left (2 \, x\right ) + 1\right )} \log \left (\cos \left (x\right )^{2} + \sin \left (x\right )^{2} - 2 \, \sin \left (x\right ) + 1\right ) - 4 \, {\left (\cos \left (3 \, x\right ) - \cos \left (x\right )\right )} \sin \left (4 \, x\right ) + 4 \, {\left (2 \, \cos \left (2 \, x\right ) + 1\right )} \sin \left (3 \, x\right ) - 8 \, \cos \left (3 \, x\right ) \sin \left (2 \, x\right ) + 8 \, \cos \left (x\right ) \sin \left (2 \, x\right ) - 8 \, \cos \left (2 \, x\right ) \sin \left (x\right ) - 4 \, \sin \left (x\right )}{4 \, {\left (a \cos \left (4 \, x\right )^{2} + 4 \, a \cos \left (2 \, x\right )^{2} + a \sin \left (4 \, x\right )^{2} + 4 \, a \sin \left (4 \, x\right ) \sin \left (2 \, x\right ) + 4 \, a \sin \left (2 \, x\right )^{2} + 2 \, {\left (2 \, a \cos \left (2 \, x\right ) + a\right )} \cos \left (4 \, x\right ) + 4 \, a \cos \left (2 \, x\right ) + a\right )} \sqrt {a}} \]
1/4*(4*(sin(3*x) - sin(x))*cos(4*x) + (2*(2*cos(2*x) + 1)*cos(4*x) + cos(4 *x)^2 + 4*cos(2*x)^2 + sin(4*x)^2 + 4*sin(4*x)*sin(2*x) + 4*sin(2*x)^2 + 4 *cos(2*x) + 1)*log(cos(x)^2 + sin(x)^2 + 2*sin(x) + 1) - (2*(2*cos(2*x) + 1)*cos(4*x) + cos(4*x)^2 + 4*cos(2*x)^2 + sin(4*x)^2 + 4*sin(4*x)*sin(2*x) + 4*sin(2*x)^2 + 4*cos(2*x) + 1)*log(cos(x)^2 + sin(x)^2 - 2*sin(x) + 1) - 4*(cos(3*x) - cos(x))*sin(4*x) + 4*(2*cos(2*x) + 1)*sin(3*x) - 8*cos(3*x )*sin(2*x) + 8*cos(x)*sin(2*x) - 8*cos(2*x)*sin(x) - 4*sin(x))/((a*cos(4*x )^2 + 4*a*cos(2*x)^2 + a*sin(4*x)^2 + 4*a*sin(4*x)*sin(2*x) + 4*a*sin(2*x) ^2 + 2*(2*a*cos(2*x) + a)*cos(4*x) + 4*a*cos(2*x) + a)*sqrt(a))
Time = 0.35 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.12 \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=-\frac {\frac {\log \left ({\left | -\sqrt {a} \tan \left (x\right ) + \sqrt {a \tan \left (x\right )^{2} + a} \right |}\right )}{\sqrt {a}} - \frac {\sqrt {a \tan \left (x\right )^{2} + a} \tan \left (x\right )}{a}}{2 \, a} \]
-1/2*(log(abs(-sqrt(a)*tan(x) + sqrt(a*tan(x)^2 + a)))/sqrt(a) - sqrt(a*ta n(x)^2 + a)*tan(x)/a)/a
Timed out. \[ \int \frac {1}{\left (a-a \sin ^2(x)\right )^{3/2}} \, dx=\int \frac {1}{{\left (a-a\,{\sin \left (x\right )}^2\right )}^{3/2}} \,d x \]